package com.hq.mapper;

import com.hq.entity.QuestionType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionTypeMapper {
    //查询所有题型
    List<QuestionType> findAll();

    //添加题型
    int addQuestionType(QuestionType questionType);

    //单行删除
    int delType(int tid);

    //批量删除
    int delTypes(String ids);

    //编辑题型
    int editType(QuestionType questionType);
}
